
-----------------------------------------
A Supplementary Replication Data and Code
-----------------------------------------

I used R programming language (https://www.r-project.org/about.html) and RStudio IDE (https://www.rstudio.com/) to conduct the analysis.

To replicate the analysis use the following files submitted as supplementary materials:

- the R Markdown document (sim_replicate_R_Markdown_18_06_18.Rmd) that contains the code I have used - use RStudio to open the file;
- election_dk_1947.csv - contains Danish election results at the constituency level;
- clea_1989_dm.csv - contains results of PR elections in: "Norway", "Finland", "Switzerland", "Sweden", "Ireland", "Portugal", "Denmark" and "Italy".

Create the following directory structure to replicate the analysis:

|-- sim_replicate_R_Markdown_18_06_18.Rmd

|-- Figs

|-- data
   `-- election_dk_1947.csv
   `-- clea_1989_dm.csv


---
END
---